libxl: refactor code which adds per-PCI device backend nodes in xenstore
authorIan Campbell <ian.campbell@citrix.com>
Tue, 11 Jan 2011 18:16:45 +0000 (18:16 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 11 Jan 2011 18:16:45 +0000 (18:16 +0000)
commit64bc47d9a1055404b8c91467d6484ad3434bdde0
tree06fb3b32f8d547a6b4f45d264fab9abecb218eba
parentf25a7171a1a740ec22e6a8ccc1b75fd348b10d91
libxl: refactor code which adds per-PCI device backend nodes in xenstore

libxl_create_pci_backend and libxl_device_pci_add_xenstore contains
identical code to setup the per device xenstore nodes in the backend.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_pci.c